<template>
	<view>
		<view class="barbackground">
			<view>
				<text class="bartitle">可提现余额（元）</text></br>

				<text class="baramount">￥16732.26</text>
				<uni-collapse :accordion="true" class="bar-detail">
					<text class="text1" @click="Seedetails()">查看详情</text>
				</uni-collapse>


			</view>
		</view>
		<view class="borde">
			<view @click="Tobesettled()">
			<uni-collapse :accordion="true" class="borde1" @click="Tobesettled()" >
				<image class="carsize" src="../../../static/purseimg/结算.png"></image>
				<text class="text">待结算的运单</text>
				<uni-icons type="forward" size="15" style="margin-right: 10px;"></uni-icons>
			</uni-collapse>
			 </view>
			 
			 <view @click="revenue()">
			<uni-collapse :accordion="true" class="borde1">
				<image class="carsize" src="../../../static/purseimg/收支明细.png"></image>
				<text class="text">收支明细</text>
				<uni-icons type="forward" size="15" style="margin-right: 10px;"></uni-icons>
			</uni-collapse>
			</view>
			
			<view @click="bankcards()">
			<uni-collapse :accordion="true" class="borde1" style="border-bottom:0ch">
				<image class="carsize" src="../../../static/purseimg/银行卡.png"></image>
				<text class="text">银行卡</text>
				<uni-icons type="forward" size="15" style="margin-right: 10px;"></uni-icons>
			</uni-collapse>
			 </view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			Seedetails() {
				uni.navigateTo({
					url: '/pages/mine/purse/purse-detail'
				})
			},
			Tobesettled(){
				uni.navigateTo({
					url:'/pages/mine/purse/tosettled'
				})
			},
			revenue(){
				uni.navigateTo({
					url:'/pages/mine/purse/timebreakdown'
				})
			},
			bankcards(){
				uni.navigateTo({
					url:'/pages/mine/purse/bankcards'
				})
			}
		}
	}
</script>

<style>
	.barbackground {
		background: linear-gradient(180deg, #002aea 0%, #147def 49%, #007aff 51%, #5296e3 100%);
		height: 140px;
	}

	.borde {
		height: 155px;
		width: 90%;
		margin: 20px auto;
		border-radius: 10px;
		background-color: #fff;
	}

	.borde1 {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		height: 50px;
		width: 97%;
		margin: 0 auto;
		border-bottom: 1px solid #dbdbdb;
	}

	.bar-detail {
		flex-direction: row;
		align-items: center;
		height: 35px;
		width: 20%;
		margin-top: 10%;
		margin-left: 75%;
		border-radius: 20px;
	}

	.text {
		position: absolute;
		left: 10%;
		font-size: 16px;
		color: #646464;
		padding: 10%;
		font-weight: 500;

	}

	.text1 {
		position: absolute;
		left: 78%;
		font-size: 14px;
		color: #004ce5;
		font-weight: 600;

	}

	.carsize {
		width: 60rpx;
		height: 60rpx;
		margin-left: 4%;
	}

	.bartitle {
		color: rgba(241, 241, 241, 0.6);
		position: absolute;
		left: 11%;
		top: 5%;
	}

	.baramount {
		color: #fff;
		font-size: 34px;
		position: absolute;
		left: 8%;
		top: 11%;
	}
</style>